//
//  MIDICertificationLineCell.m
//  MIDI
//
//  Created by 千行时线 on 15/9/12.
//  Copyright (c) 2015年 QXSX. All rights reserved.
//

#import "MIDICertificationLineCell.h"

@interface MIDICertificationLineCell()
@property (weak, nonatomic) IBOutlet UILabel *titleUILabel;
@property (weak, nonatomic) IBOutlet UILabel *contentUILabel;


@end

@implementation MIDICertificationLineCell

-(void) setData:(NSString *) title :(NSString *) content
{
    self.titleUILabel.text = title;
    self.contentUILabel.text = content;
}


+ (instancetype)cellWithTableView:(UITableView *)tableView
{
    static NSString *ID = @"MIDICertificationLineCell";
    MIDICertificationLineCell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
    if (cell == nil) {
        
        cell = [[[NSBundle mainBundle] loadNibNamed:ID owner:nil options:nil]firstObject];
        
        [cell setSelectionStyle:UITableViewCellSelectionStyleNone];
    }
    
    return cell;
}


@end
